Towards a New Perspective on Partial Evaluation

نویسندگان

  • Morry Katz
  • Daniel Weise
چکیده

1 Introduction We have designed a new method for performing partial evaluation. This method divides specialization into two phases: a polyvariant analysis phase and a code generation phase. The analysis phase does not diierentiate between unfolding and specializing. Symbolic execution is the sole operation performed during the analysis phase. Symbolic execution of an expression yields a characterization of the value that would be returned by the expression if it were executed at runtime, a description of the residual operation(s) that must be performed to generate the runtime value, and a record of the information utilized in performing symbolic execution. (The third result of symbolic execution will be explained in some detail later.) Only delta-reductions are performed during symbolic execution. No beta-substitution of user functions occurs during the analysis phase and no values are in-lined. Consequently, symbolic execution yields extremely polymorphic, and highly reusable, specialized function bodies. The code generation phase constructs the residual program from the specialized function bodies. It is responsible for all beta-substitution. Delaying the beta-substitution decisions until the code generation phase allows us to construct a partial evaluator that both produces highly specialized code and makes intelligent decisions regarding code size versus lower function call overhead. Termination decisions are made in the analysis phase based on lazy use-analysis, an extension of eager use-analysis 5]. Lazy use-analysis considers both the information used by symbolic execution in performing delta-reductions and how information about the values returned by delta reductions is used. Information is only used in a fundamental sense if there is a causal chain between its use in performing some delta reduction and the production of the nal runtime answer returned by a program. The less information used in creating a specialized function body that contributes to the return value of the function, the greater the number of contexts in which the specialization can be reused. Furthermore , the less information used about the value returned by a function call, the less restrictions that are placed on the

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Perspective of nurses working in medical-training hospitals in Kohkiloyeh and Boyer-Ahmad province towards continuing education

Introduction: Information about perspective of nurses on continuing medical education is important in promoting the program. The present study was aimed to determine the perspective of nurses, working in medical-Education hospitals, on continuing education programs. Methods: In this descriptive study, 184 nurses working in medical-education hospitals of Kohkiloyeh and Boyer-Ahmad were pa...

متن کامل

Are new metrics pushing out traditional measurement tools of academic communications and scholarship?

Introduction: Universities are the centers of interactions and communications and a basic of scientific products and publications in the country. Scientific production and publications are surveyed and evaluated for various reasons. Evaluation criteria with regard to the location, type and circumstances are different and are occasionally changed and new. In this study, we survey the new metrics...

متن کامل

New Health Technologies: A UK Perspective; Comment on “Providing Value to New Health Technology: The Early Contribution of Entrepreneurs, Investors, and Regulatory Agencies”

New health technologies require development and evaluation ahead of being incorporated into the patient care pathway. In light of the recent publication by Lehoux et al who discuss the role of entrepreneurs, investors and regulators in providing value to new health technologies, we summarise the processes involved in making new health technologies available for use in the United Kingdom.

متن کامل

Iranian New Junior High School Book (Prospect 1) Weighted against Material Evaluation Checklist from Teachers' Perspective

The aim of this study was to evaluate the new version of Iranian EFL junior high school textbook (Prospect1) from the teachers’ perspectives. The participants included90experienced English teachers (42 females and 48 males) randomly selected from different junior high schools in different districts of Gilan province, Iran. The evaluation of the textbook was conducted quantitatively through a 5-...

متن کامل

Clinical and paraclinical evaluation of partial nephrectomy using laparoscopy and open surgery in dogs: new suturing technique

Partial nephrectomy, using open surgery or laparoscopy, is a standard surgical approach to treat renal disorders. The objective of this study was to compare and evaluate the feasibility and safety of laparoscopic partial nephrectomy using figure eight ligation technique. Mixed-breed dogs were randomly dedicated for partial nephrectomy using laparoscopy (n=6) and open surgery (n=6). During 30 da...

متن کامل

Proposing a Participatory Model of Teacher Evaluation

Introduction: Developing a fair and organized evaluation system with faculty members’ own participation, could lead to faculty members’ more satisfaction with evaluation. The goal of this study was to determine the effects of a participatory model of evaluation on faculty members’ perspective toward this model. Methods: In this pre-experimental study as one shot case study, 55 faculty members...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992